package com.app.piemoment;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class LoginActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.login);
		Button _tiyan = (Button) findViewById(R.id._tiyan);
		_tiyan.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {

				Log.e("onClick", "click test");
				Intent i = new Intent();
				// i.setClass(LoginActivity.this, TalkActivity.class);
				i.setClass(LoginActivity.this, ComplateUserInfo5Activity.class);

				startActivity(i);
			}
		});
		Button _login = (Button) findViewById(R.id._login);
		_login.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {
				Intent i = new Intent();
				i.setClass(LoginActivity.this, LoginUserActivity.class);
				startActivity(i);

			}
		});

		Button _regedit = (Button) findViewById(R.id._regedit);
		_regedit.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				Intent i = new Intent();
				i.setClass(LoginActivity.this, RegeditActivity.class);
				startActivity(i);
			}
		});

	}
}
